package io.renren.modules.goods_cate.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.goods_cate.dao.V9GoodsCateDao;
import io.renren.modules.goods_cate.entity.V9GoodsCateEntity;
import io.renren.modules.goods_cate.service.V9GoodsCateService;


@Service("v9GoodsCateService")
public class V9GoodsCateServiceImpl extends ServiceImpl<V9GoodsCateDao, V9GoodsCateEntity> implements V9GoodsCateService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<V9GoodsCateEntity> page = this.page(
                new Query<V9GoodsCateEntity>().getPage(params),
                new QueryWrapper<V9GoodsCateEntity>()
        );

        return new PageUtils(page);
    }

}